package com.ruoyi.shape.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 手型、脸型信息对象 jy_shape
 *
 * @author ruoyi
 * @date 2024-03-08
 */
@ApiModel
public class Shape extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 手型/脸型名称 */
    @Excel(name = "手型/脸型名称")
    @ApiModelProperty(value = "手型/脸型名称")
    private String name;

    /** 大图标 */
    @Excel(name = "大图标")
    @ApiModelProperty(value = "大图标")
    private String img1;

    /** 小图标 */
    @Excel(name = "小图标")
    @ApiModelProperty(value = "小图标")
    private String img2;

    /** 区分手型/脸型，1表示手型，2表示脸型 */
    @Excel(name = "区分手型/脸型，1表示手型，2表示脸型")
    @ApiModelProperty(value = "区分手型/脸型，1表示手型，2表示脸型")
    private Long type;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setImg1(String img1)
    {
        this.img1 = img1;
    }

    public String getImg1()
    {
        return img1;
    }
    public void setImg2(String img2)
    {
        this.img2 = img2;
    }

    public String getImg2()
    {
        return img2;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("img1", getImg1())
            .append("img2", getImg2())
            .append("type", getType())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
